package com.kunbo.cn.entity.core.poundlist;

import java.io.Serializable;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import lombok.Data;
/**
 * 
 * <p>Title: PurchasePoundList</p>
 * <p>Description:采购磅单实体模型 </p>
 * <p>Company: www.kunbo.cn</p> 
 * @author	yang'f
 * @date	2019年2月26日上午11:24:21
 * @version 1.0
 */
@Entity
@Table(name="db_business_purchase_pound_list")
@GenericGenerator(name = "jpa-uuid", strategy = "uuid")
@EntityListeners(AuditingEntityListener.class)
@Data
public class PurchasePoundList implements Serializable{
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(generator = "jpa-uuid")
    @Column(length = 32)
	private String uuid;//主键uuid
	//@CreatedDate
   // private Date createTime;//制单时间
   // @LastModifiedDate
    //private Date lastModifiedTime;//修改时间
	private String createTime;//制单时间
	private String lastModifiedTime;//修改时间
    private String cgPoundNumber;//采购磅单号
    private String supplier;//供应商
    private String receivingUnit;//收货单位
    private String materiel;//物料
    private String wagonNumber;//车号
    private Double roughWeight;//毛重
    private Double tare;//皮重
    private Double netWeight;//净重
    private Double oldNetWeight;//原发净重
    private Double loss;//亏损
    private String iDNumber;//身份证号
    private Double buckleWeight;//扣重
    private Double buckleMiscellaneous;//扣杂
    private String lightCarTime;//轻车时间
    private String reconditioningTime;//重车时间
    private String cgOrderNumber;//采购订单号
    private String waybillNumber;//运单号
    private String arrivalOfGoodsNumber;//到货单号
    private String state;//状态（0-未过磅，1-首次称重2-二次称重3-首次确认4-二次确认）
    private String remark;//备注
    private String transport_unit;//运输单位
    private String driver;//司机
    private String matter_type;//物料类型
    private String handset_confirm;//handset//手持机确认人
    private String firstConfirmPerson;//首次确认人
    private String secondConfirmPerson;//二次确认人
    private String create_by;//制单人
   
    
}

